import Vue from 'vue';
export default {
    //入库列表
    listbywarehousein (data) {
        return Vue.http.post('/warehousein/listbywarehousein',data,Vue.httpJsonConfig);
    },
    //添加待入库单
    addwarehousein (data) {
        return Vue.http.post('/warehousein/addwarehousein',data,Vue.httpJsonConfig);
    },
    //入库
    stockin (data) {
        return Vue.http.post('/warehousein/stockin',data,Vue.httpJsonConfig);
    },
    //入库单详情
    warehouseindetaillist (data) {
        return Vue.http.post('/warehousein/warehouseindetaillist',data,Vue.httpJsonConfig);
    },
    //删除入库单
    deletewarehousein (data) {
        return Vue.http.post('/warehousein/deletewarehousein',data);
    },
    //库存列表
    listbystock (data) {
        return Vue.http.post('/stock/listbystock',data,Vue.httpJsonConfig);
    },
    //出库单列表
    listbywarehouseout (data) {
        return Vue.http.post('/warehouseout/listbywarehouseout',data,Vue.httpJsonConfig);
    },
    //新增待出库单
    addwarehouseout (data) {
        return Vue.http.post('/warehouseout/addwarehouseout',data,Vue.httpJsonConfig);
    },
    //待出库单出库
    stockout (data) {
        return Vue.http.post('/warehouseout/stockout',data,Vue.httpJsonConfig);
    },
    //出库详情
    warehouseoutdetaillist (data) {
        return Vue.http.post('/warehouseout/warehouseoutdetaillist',data,Vue.httpJsonConfig);
    },

};
